package com.sixth.stock.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sixth.core.entity.Producer;
import com.sixth.core.vo.R;
import com.sixth.stock.vo.ProducerVo;

/**
* @author Administrator
* @description 针对表【stock_producer(生产厂家表)】的数据库操作Service
* @createDate 2024-08-14 15:46:59
*/
public interface ProducerService extends IService<Producer> {

    R<IPage<Producer>> listByPage(ProducerVo producerVo);

    R batchDelete(Long[] producerIds);

    R add(Producer producer);

    R update(Producer producer);

    R deleteById(Long id);

    R listAll();
}
